//
//  CarModel.m
//  TestCar
//
//  Created by 吴志勇 on 2020/2/19.
//  Copyright © 2020 wzy. All rights reserved.
//

#import "CarModel.h"

@implementation CarModel

- (instancetype)initWithDict:(NSDictionary *)dict{
    if (self = [super init]) {
        self.carImg = dict[@"carImg"];
    }
    return self;
}

+ (instancetype)carWithDict:(NSDictionary *)dict{
    return  [[self alloc] initWithDict:dict];
    
}


@end
